﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Police
{
    /// <summary>
    /// Default interface to implement for custom pre-commit validation rules provider.
    /// </summary>
    public interface IPreCommitRulesProvider
    {
        /// <summary>
        /// Load validation rules.
        /// </summary>
        /// <returns>List of ordered and enabled validation rules.</returns>
        IEnumerable<IPreCommitRule> LoadValidationRules();
    }
}
